package org.support.small.infrastructure.admin;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Getter;
import lombok.Setter;
import org.support.small.infrastructure.AuditDomain;

import java.time.LocalDateTime;

@Getter
@Setter
@Table("admin_tokens")
public class AdminTokens extends AuditDomain {
    @Id
    private Long id;
    // 登录用户id
    private Long adminId;
    private String token;
    // token到期时间
    private LocalDateTime expiredTime;
    private String ip;
    private String userAgent;
}
